package com.jcark.ui.view.dropdown;

/**
 * Description: <br>
 *
 * @author King.Zi <br>
 * @date 2021/10/27 <br>
 * Email: 78688689@qq.com
 */
public class DropDownItem {
    private String name;
    private String value;
    private int id;

    public DropDownItem(String name, String value) {
        this.name = name;
        this.value = value;
        this.id = -1;
    }

    public DropDownItem(String name, int id) {
        this.name = name;
        this.value = name;
        this.id = id;
    }

    public DropDownItem(String name, String value, int id) {
        this.name = name;
        this.value = value;
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
